package a4;


    public class WireTransfer extends Payment {
        private String bankID;
        private String bankName;

        // Constructors, getters, and setters
        public WireTransfer(double amount, String bankID, String bankName) {
            super(amount);
            this.bankID = bankID;
            this.bankName = bankName;
        }

        // Getters and Setters
        public String getBankID() { return bankID; }
        public void setBankID(String bankID) { this.bankID = bankID; }
        public String getBankName() { return bankName; }
        public void setBankName(String bankName) { this.bankName = bankName; }
    }

